#include<stdio.h>
int main()
{
	int H;
	scanf_s("%d", &H);
	float a = (H - 100) * 0.9*2;
	printf("%.1f", a);
	return 0;
}